{% extends 'base.html' %}
{% block css %}
    <style>
    .form-signin {
          max-width: 500px;
          padding: 15px;
          margin: 20px auto;
          margin-bottom: 100px;
        }
    </style>
{% endblock %}
{% block content %}
<form class="form-signin" role="form" action="/login/" method='post'>{% csrf_token %}
        <h2 class="form-signin-heading">管理员登录</h2>
        {{ form.as_p }}
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
      </form>
<hr/>
<br/>
{% endblock %}